package com.ws.admin.post.mapper;

import com.ws.admin.post.entity.Post;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
/**
 * <p>
 * 论坛-帖子 Mapper 接口
 * </p>
 *
 * @author weifucheng
 * @since 2019-11-26
 */
@Mapper
public interface PostMapper extends BaseMapper<Post> {

    List<Post> listByParam(Page<Post> page, @Param("param") Post post);

}
